#!/bin/sh

B1WebUDPCtrl=${PWD}/B1WebUDPCtrl
Projpzt=${PWD}/projpzt
Script=${PWD}/script

xhost +local:root;

docker run -it --privileged=true --net=host --restart=always \
  --volume="/dev:/dev" \
  --mount type=bind,source=$B1WebUDPCtrl,target=/root/realease/B1WebUDPCtrl \
  --mount type=bind,source=$Projpzt,target=/root/realease/projpzt \
  --mount type=bind,source=$Script,target=/root/realease/script \
  --entrypoint "/root/realease/script/start.sh" b1:v0.2